package com.xujp.cloud.service;

import org.springframework.stereotype.Component;

/**
 * @author Xjp
 * @version 1.0
 * @date 2021/5/2 下午 10:34
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "服务调用失败，提示来自：PaymentFallbackService-paymentInfo_OK";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "服务调用失败，提示来自：PaymentFallbackService-paymentInfo_TimeOut";
    }
}
